package com.leonzx.base.config.pager;

import java.lang.annotation.*;

/**
 * 分页配置注解
 *
 * Created by liang on 2016/10/8.
 */

@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PageInfo {
    boolean pageable() default true;

    int pageSize() default 10;

    String orderBy();

    String orderDiv() default Page.Sort.DESC;
}